package com.tc.domain.dataobject;

import com.tc.common.enums.OrderResultEnums;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Order {

    private Long id;
    // 订单ID
    private String orderId;

    private Long userId;


    // 订单金额
    private double amount;

    private int status;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
